package com.household.domain.vo;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * Created By wanzhen
 * 2023. 2023/4/6. 16:44
 */

@Data
public class BootstrapTableVO<T> implements Serializable {
    /**
     * 总记录数
     */
    private Long total;
    /**
     * 记录
     */
    private List<T> rows;

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }

    @Override
    public String toString() {
        return "BootstrapTableVO{" +
                "total=" + total +
                ", rows=" + rows +
                '}';
    }
}
